<div class="alert-box secondary"><i class="icon-user"></i> - Add Student.</div>
<?=$system_message;?>
<form  method="POST" action="<?=site_url('user/addstudent');?>" class="">
<div class="row">
	<div class="large-4 columns">
		<label><strong>First Name</strong></label>
		<input type="text" name="stud_fname" required placeholder="student's firstname ..">
	</div>
	<div class="large-4 columns">
		<label><strong>Middle Name</strong></label>
		<input type="text" name="stud_mname" required placeholder="student's middlename ..">
	</div>
	<div class="large-4 columns">
		<label><strong>Last Name</strong></label>
		<input type="text" name="stud_lname" required  placeholder="student's lastname ..">
	</div>
</div>
<div class="row">
	<div class="large-8 columns">
		<label><strong>Birthdate</strong></label>
		<div class="row">
		<div class="large-5 columns">
			<?=form_dropdown('bdate[month]', ['Choose Month','January','Febuary','March','April','May','June','July','August','Septembert','October','November','December'], '',' required');?>
		</div>
		<div class="large-2 columns">
			<input type="text" name="bdate[day]"  placeholder="Day">
		</div>
		<div class="large-5 columns">
			<?=form_dropdown('bdate[year]',$year, 'default','required');?>
		</div>
		</div>
	</div>
	<div class="large-4 columns">
		<label><strong>Gender</strong></label>
		<?=form_dropdown('stud_gender',[''=>'-- Choose Gender --','male'=>'Male','female'=>'Female'], 'default',' required');?>
	</div>
</div>
<div class="row">
	<div class="large-3 columns">
		<label><strong>Nationality</strong></label>
		<input type="text" name="stud_nat" value="filipino"  required>
	</div>
	<div class="large-3 columns">
	</div>
	<div class="large-6 columns">
		<label><strong>Grade Level</strong></label>
		<?=form_dropdown('stud_glevel', $grade_levels, 'default',' required');?>
	</div>
</div>
<div class="row">
	<div class="large-6 columns">
		<input type="submit" class="btn btn-primary" value="Add Student" name="add_new_student">
		<a href="<?=site_url('');?>" class="confirm btn" title="Exit to main page?">Cancel</a>
	</div>
</div>
</form>